package com.kelaite.procurement.dto;

import java.util.Date;

public class SalesOrderItemsDTO {

	private Long id;

	private SalesOrderDTO tSalesOrder;

	private int orderItemNo;

	private Long materialId;

	private String materialName;

	private Double quantity;

	private String unit;

	private Double unitPrice;

	private Double subTotal;

	private String materialPic;

	private Double quantityDelivered;

	private Double quantityConfirmed;

	private Date planedTime;

	private Date actualTime;

	private Date gmtCreateTime;

	private Date gmtUpdateTime;

	private String createdBy;

	private String updatedBy;

	private boolean isDelete;

	//2016/4/24 new add
	private long salesOrderID;
	private Double oldquantityDelivered;
	
	public long getSalesOrderID() {
		return salesOrderID;
	}

	public void setSalesOrderID(long salesOrderID) {
		this.salesOrderID = salesOrderID;
	}
	
	public Double getOldquantityDelivered() {
		return oldquantityDelivered;
	}

	public void setOldquantityDelivered(Double oldquantityDelivered) {
		this.oldquantityDelivered = oldquantityDelivered;
	}

	public SalesOrderItemsDTO() {

	}

	public Long getId() {

		return id;
	}

	public void setId(Long id) {

		this.id = id;
	}

	public SalesOrderDTO gettSalesOrder() {

		return tSalesOrder;
	}

	public void settSalesOrder(SalesOrderDTO tSalesOrder) {

		this.tSalesOrder = tSalesOrder;
	}

	public int getOrderItemNo() {

		return orderItemNo;
	}

	public void setOrderItemNo(int orderItemNo) {

		this.orderItemNo = orderItemNo;
	}

	public Long getMaterialId() {

		return materialId;
	}

	public void setMaterialId(Long materialId) {

		this.materialId = materialId;
	}

	public String getMaterialName() {

		return materialName;
	}

	public void setMaterialName(String materialName) {

		this.materialName = materialName;
	}

	public Double getQuantity() {

		return quantity;
	}

	public void setQuantity(Double quantity) {

		this.quantity = quantity;
	}

	public String getUnit() {

		return unit;
	}

	public void setUnit(String unit) {

		this.unit = unit;
	}

	public Double getUnitPrice() {

		return unitPrice;
	}

	public void setUnitPrice(Double unitPrice) {

		this.unitPrice = unitPrice;
	}

	public Double getSubTotal() {

		return subTotal;
	}

	public void setSubTotal(Double subTotal) {

		this.subTotal = subTotal;
	}

	public String getMaterialPic() {

		return materialPic;
	}

	public void setMaterialPic(String materialPic) {

		this.materialPic = materialPic;
	}

	public Double getQuantityDelivered() {

		return quantityDelivered;
	}

	public void setQuantityDelivered(Double quantityDelivered) {

		this.quantityDelivered = quantityDelivered;
	}

	public Double getQuantityConfirmed() {

		return quantityConfirmed;
	}

	public void setQuantityConfirmed(Double quantityConfirmed) {

		this.quantityConfirmed = quantityConfirmed;
	}

	public Date getPlanedTime() {

		return planedTime;
	}

	public void setPlanedTime(Date planedTime) {

		this.planedTime = planedTime;
	}

	public Date getActualTime() {

		return actualTime;
	}

	public void setActualTime(Date actualTime) {

		this.actualTime = actualTime;
	}

	public Date getGmtCreateTime() {

		return gmtCreateTime;
	}

	public void setGmtCreateTime(Date gmtCreateTime) {

		this.gmtCreateTime = gmtCreateTime;
	}

	public Date getGmtUpdateTime() {

		return gmtUpdateTime;
	}

	public void setGmtUpdateTime(Date gmtUpdateTime) {

		this.gmtUpdateTime = gmtUpdateTime;
	}

	public String getCreatedBy() {

		return createdBy;
	}

	public void setCreatedBy(String createdBy) {

		this.createdBy = createdBy;
	}

	public String getUpdatedBy() {

		return updatedBy;
	}

	public void setUpdatedBy(String updatedBy) {

		this.updatedBy = updatedBy;
	}

	public boolean isDelete() {

		return isDelete;
	}

	public void setDelete(boolean isDelete) {

		this.isDelete = isDelete;
	}

}
